package cn.stylefeng.guns.animals.modular.product.service.impl;

import cn.stylefeng.guns.animals.modular.product.bean.QueryParam;
import cn.stylefeng.guns.animals.modular.system.model.Product;
import cn.stylefeng.guns.animals.modular.system.dao.ProductMapper;
import cn.stylefeng.guns.animals.modular.product.service.IProductService;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stylefeng
 * @since 2020-08-26
 */
@Service
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> implements IProductService {

    @Override
    public List<Product> queryPage(Page<Product> page, Product product) {


        List<Product> products = this.baseMapper.queryPage(page, product);

        return products;
    }
}
